opencard.opt.security
Class PrivateKeyFile

java.lang.Object
  extended byopencard.opt.security.KeyFile
      extended byopencard.opt.security.PrivateKeyFile
All Implemented Interfaces:
java.security.Key, KeyRef, java.security.PrivateKey, PrivateKeyRef, java.io.Serializable

public class PrivateKeyFile
extends KeyFile
implements PrivateKeyRef

Reference to a private key stored on a smart card in an ISO file. Identifies the key file by specifying the directory the key is contained in as well as a key number.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface java.security.Key
serialVersionUID
 
Fields inherited from interface java.security.PrivateKey
serialVersionUID
 
Constructor Summary
PrivateKeyFile(CardFilePath directory, int keyNr)
          Constructor from directory path and key number.
 
Methods inherited from class opencard.opt.security.KeyFile
getAlgorithm, getDirectory, getEncoded, getFormat, getKeyNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
 

Constructor Detail

PrivateKeyFile

public PrivateKeyFile(CardFilePath directory,
                      int keyNr)
Constructor from directory path and key number.

Parameters:
keyNr - int